import React, { useRef, useState, useEffect } from 'react';
import { connect, history } from 'umi';
import { Row, Col, Card, Tooltip, Button, Space, Modal, notification } from 'antd';
import TableDataBlock from '@/components/TableDataBlock';
const MutualList = (props) => {
    return <div className='MutualList_box'></div>
}
const AnsweringMutual = (props) => {
    const { loading, dispatch, list, departmentList, teamList } = props;
    const childRef = useRef();
    const searchItems = [
        {
            label: '客户姓名或手机',
            name: 'keyword',
        },
        {
            label: '标签',
            name: 'tags',
        },

    ];
    const getColumns = [
        {
            title: '用户名',
            dataIndex: 'codeName',
        },
        {
            title: '真实姓名',
            dataIndex: 'codeName',
        },
        {
            title: '手机号',
            dataIndex: 'codeName',
        },
        {
            title: '评论内容',
            dataIndex: 'codeName',
        },
        {
            title: '评论时间',
            dataIndex: 'codeName',
        },
        {
            title: '状态',
            dataIndex: 'codeName',
        },

        {
            type: 'handle',
            width: 200,
            dataIndex: 'id',
            render: (val, record) => [
                {
                    auth: true,
                    title: '编辑',
                    click: () => {

                    },
                },

            ],
        },
    ];
    return <div style={{ minWidth: 1400, overflowX: 'auto' }}>
        <Row>
            <Col span={8}></Col>
            <Col span={16}></Col>
        </Row>
    </div>
}

//     <Card title={'互助答疑'}>
//         <TableDataBlock
//             searchItems={searchItems}
//             cRef={childRef}
//             loading={loading}
//             columns={getColumns}
//             rowKey={(e) => {
//                 return e.id
//             }}
//             dispatchType="subscriber/fetchSearchPublicUser"
//             {...list}
//         ></TableDataBlock>

//     </Card>
// }
export default connect(({ loading }) => ({

}))(AnsweringMutual);
